export default [
    {
        path: '/',
        component: () => import('@/pages/Login')
    },
    {
        path: '/home',
        component: () => import('@/pages/Home')

    },
    {
        path: '/login',
        component: () => import('@/pages/Login')
    },
    {
        path: '/register',
        component: () => import('@/pages/register')
    },

    {
        path: '/sysSession',
        component: () => import('@/pages/sysSession')
    },
    {
        path: '/detailMessage/:mid?',
        name: 'delMsg',
        component: () => import('@/pages/DetailMessage'),
        props: true
    },
    {
        path: '/myInfo/:uid?',
        name: 'myInfo',
        component: () => import('@/pages/MyInfo'),
        props: true
    },
    {
        path: '/addMsg',
        component: () => import('@/pages/editMsg')
    },
    {
        path: '/searchUser',
        component: () => import('@/pages/searchUser')
    },
    {
        path: '',
        redirect: '/home'
    },
    {
        path: '/searchMsg',
        component: () => import('@/pages/searchMsgsList')
    }
]